import json
from common import cfg

def load_data(data_file):
    with open(cfg.get_data_path()+data_file, 'r', encoding='utf-8') as f:
        read_list = []
        dict_data = json.load(f)
        for value in dict_data.values():
            read_list.append(value)
        return read_list

if __name__ == '__main__':
    print(load_data('login.json'))